package com.compass.mobile.ui.activity

import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.FragmentTransaction
import com.compass.mobile.R
import com.compass.mobile.databinding.ActivityHomePageBinding
import com.compass.mobile.framework.base.BaseVBActivity
import com.compass.mobile.ui.fragment.HomeCareFragment

/**
 * Description： 上门护理
 * Date:2024/6/3 21:55
 */
class HomeCareActivity : BaseVBActivity<ActivityHomePageBinding>() {


    companion object {
        fun start(context: Context) {
            val intent = Intent(context, HomeCareActivity::class.java)
            context.startActivity(intent)
        }
    }

    override fun initView(savedInstanceState: Bundle?) {
        val fragmentTransaction: FragmentTransaction = supportFragmentManager.beginTransaction()
        fragmentTransaction.replace(R.id.fragmentContainer, HomeCareFragment())
        fragmentTransaction.commit()

    }
}
